// 1 导入一个 创建仓库的函数
import { defineStore } from "pinia"
import { ref } from "vue"
// import { computed, ref } from "vue"

// 2 创建仓库 
export const useStore = defineStore("user", () => {

  const user = ref("admin")

  return { user }
})